package trlygjj.tanruiliyigenjinjin.mapper;

import trlygjj.tanruiliyigenjinjin.domain.Person;
import trlygjj.tanruiliyigenjinjin.query.QueryObject;

import java.util.List;

public interface PersonMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Person record);

    Person selectByPrimaryKey(Long id);

    List<Person> selectAll();

    int updateByPrimaryKey(Person record);

    int queryForCount(QueryObject qo);

    List<Person> queryForList(QueryObject qo);
}